<div id="upd-reservation">
	<h4>Formulaire de modification d'une reservation</h4>
	<form action="#">
		<p>
			<label for="reservation">Numéro de réservation : </label>
			<select name="reservation" id="reservation">
				<option value="empty"></option>
				<?php
					include("../database.php");
					$date = new Datetime();
					$sql = Database::getInstance();

					$list_cat = $sql->getMyNextReservation($_COOKIE["m2l"], $date->format("Y"), $date->format("m"), $date->format("d"));	
					foreach($list_cat as $cat) {
						echo '<option value='.$cat->id_reservation.'> Reservation du : '.$cat->date.'</option>';
					}
				?>
			</select>
				
			<input type="button" value="valider" id="getReservation" />
		</p>
	</form>
</div>